const express = require('express')
const page = express.Router()

page.use((req, res, next) => {
  console.log(`time${Date.now()}`)
  next()
})

page.get('/', (req, res) => {
  console.log(req)
  res.render('index', {
    title: 'index'
  })
})


module.exports = page